package com.weishuang.monitor.leader.mapper;

import com.weishuang.monitor.leader.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weishuang.monitor.leader.entity.vo.RoleVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色信息 Mapper 接口
 * </p>
 *
 * @author weishuang
 * @since 2021-03-23
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<RoleVO> listRoleAndCheckRoleByUserId(@Param("userId") String userId);
}
